home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0080-Re Changing MacApp -Oct89 < prev    next >
Encoding:
Text File  |  1989-10-16  |  1.3 KB  |  30 lines  |  [TEXT/GEOL]

  1. Item    8638909                         14-Oct-89        01:08
  2.  
  3. From:   D4071                           Aapps, Russ Wetmore,PRT
  4.  
  5. To:     ROSENSTEIN1                     Rosenstein, Larry
  6.  
  7. cc:     MACAPP.TECH$                    MACAPP Tech
  8.  
  9. Sub:    Re: Changing MacApp Source
  10.  
  11. Larry -
  12.  
  13. Interesting - I didn’t realize that Lib would let you replace individual
  14. methods.  I could see that as a solution _if_ you can get by with wholesale
  15. replacement of existing methods.  Adding new methods is the issue.
  16.  
  17. Your comments about delegation of responsibility are well-taken.  The point I
  18. was trying to make was that there are usually alternatives to modifying the
  19. MacApp source.  The only change I needed to make to implement my little kludge
  20. was to alter the way mousedowns are passed to subviews - an override of
  21. TWindow.HandleMouseDown was all that was required (if memory serves - I don’t
  22. have the sources in front of me.)  The held views were responsible for little
  23. more than drawing themselves, with the view holder implementing most of the
  24. common behavior.  Physically, the view holder object didn’t need to have been
  25. derived from TView - the end result was that the view holder was a conceptual
  26. extension to TView derived objects.  Regardless of how it was actually
  27. implemented.  :-)
  28.         [ Russ ]
  29.  
  30.